package com.ss.android.article.base.feature.detail.model;

import org.json.JSONObject;

public final class PraiseData {
    public String selectLink;

    public PraiseData() {

    }

    public static PraiseData fromJSONObject(JSONObject jsonObject) {
        PraiseData prasiseData = null;
        if (jsonObject != null) {
            JSONObject praisedataJO = jsonObject.optJSONObject("praise_data");
            if (praisedataJO != null) {
                prasiseData = new PraiseData();
                prasiseData.selectLink = praisedataJO.optString("select_link");
                praisedataJO.optInt("praise_num");
            }
        }
        return prasiseData;
    }
}

